import routerMap from "./routerMap"


import Home from '../pages/Home' // 首页
import MobxExplain from '../pages/MobxExplain'  // mobx案例
import HOCExplain from '../pages/HOC'  // 高阶组件
import TestMyComponent from '../pages/TestMyCompont/index'  // mobx案例
import ReactApi from '../pages/ReactApi'  // ReactAPI
import HookExplain from '../pages/ReactHookAp/index02'  // Hook案例
import Rudux from '../pages/Rudux'  // Rudux
// import  RouterAppExam  from '../pages/RouterApp'
import EcharHome from '../pages/EchartsAPP/EchartHome'
import Grid from '../pages/Grid'
import Testjs from '../pages/Testjs'


const routerList = [
  {
    key: '/Home',
    isexact: true,
    component: Home,
  },
  {
    key: '/MobxExplain',
    isexact: true,
    component: MobxExplain,
  },
  {
    key: '/HOCExplain',
    isexact: true,
    component: HOCExplain,
  },
  {
    key: '/TestMyComponent',
    component: TestMyComponent,
  },
  {
    key: '/ReactApi',
    isexact: true,
    component: ReactApi,
  },
  {
    key: '/HookExplain',
    isexact: true,
    component: HookExplain,
  },
  {
    key: '/Rudux',
    isexact: true,
    component: Rudux,
  },
  // {
  //keyath: '/RouterApp',
  //   isexact: true,
  //   component: RouterAppExam,
  // },
  {
    key: '/Echar',
    isexact: true,
    component: EcharHome,
  },
  {
    key: '/Grid',
    isexact: true,
    component: Grid,
  },
  {
    key: '/Testjs',
    isexact: true,
    component: Testjs,
  },
]

export {
  routerList,
  routerMap
}
